package com.sencha.myblog;

import java.util.ArrayList;
import java.util.List;

public class User {
	private String username;
	private String password;
	private List<Preference> subscriptions;

	public User(String username, String password) {
		this.username = username;
		this.password = password;
		this.subscriptions = new ArrayList<Preference>();
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setSubscriptions(List<Preference> subscriptions) {
		this.subscriptions = subscriptions;
	}

	public List<Preference> getSubscriptions() {
		return subscriptions;
	}

}
